package Unicart.pages;

import org.openqa.selenium.By;


import static org.openqa.selenium.support.ui.ExpectedConditions.*;

public class BasketEmptyPage extends AnyPage {

	public BasketEmptyPage(PageManager pages) {
		super(pages);
	}

    public BasketEmptyPage ensurePageLoaded() {
    	super.ensurePageLoaded();
    	wait.until(presenceOfElementLocated(By.linkText("каталог продуктов")));
    	return this;
    }
  
}
